package top.zsyle.user.mapper;

import top.zsyle.basic.dto.LoginDto;
import top.zsyle.user.domain.Logininfo;
import top.zsyle.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zsy
 * @since 2022-11-24
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {


    Logininfo findByDto(LoginDto dto);

    Logininfo findByUserId(Long userId);
}
